﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DaInterFace.UMode;

namespace DaInterFace
{
    public class DataCenter1
    {
        private Boolean _isRuning = false;


        private IConfig daConfig;
        private IDataBase daData;

        private IUMode daUMode;

        public IConfig Config { get { return daConfig; } }
        public IDataBase Data { get { return daData; } }
        public IUMode UMode { get { return daUMode; } }

        public DataCenter1(IConfig config, IDataBase data)
        {
            daConfig = config;
            daData = data;
        }
        public void AddUMode(IUMode uMode)
        {
            daUMode = uMode;
        }
    }
}
